<?php

/*
 * This is to update disease info.
 */
include '../../include/config.php';
mysql_query("update me_user_device set `location` = '".$_POST['location']."', `name` = '".$_POST['name']."', `description` = '".$_POST['description']."' where uid='".$_COOKIE['gid']."' and sr = '".$_POST['sr']."' ")  or die(mysql_error()) ;
header('Location:../view/Device');
?>
